<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>ToseaCoding</title>
</head>
<style type="text/css">
    input {
        width: 300px;
        height: 40px;
        font-size: 16px;
        line-height: 40px;
        margin: 15px auto;
    }
</style>
<body>

<div style="width: 500px; margin: 200px auto; border: 1px solid #cccccc;">
    <h2 style="color: red;" th:text="${message}">大家好</h2>
    <form action="/login" method="post">
        姓名: <input name="userName" required type="text" value="admin"/><br/>
        密码: <input name="userPwd" required type="password" value="123456"/><br/>
        <input type="submit" value="登 录"/>
        <p>账号：admin，密码：123456</p>
    </form>
</div>
</body>
</html>
